﻿using SqlSugar;

namespace Zhaoxi.App.Common.Entity
{
    [SugarTable("UserInfo")]//当和数据库名称不一样可以设置表别名 指定表明
    public class UserInfo
    {
        [SugarColumn(IsPrimaryKey = true)]
        public Guid uId { get; set; }

        [SugarColumn(ColumnName = "Name", IsNullable = true)]
        public string? Name { get; set; }

        [SugarColumn(ColumnName = "CreateTime", IsNullable = true)]
        public DateTime? CreateTime { get; set; }


        /// <summary>
        /// 租户Id
        /// </summary>
        public int OrgId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string? Connection { get; set; }
    }
}